/**
 * Project of Vehicle Routing Problem with Time Windows implements 
 * some of well-known algorithms for solving VRPTW and presents new 
 * one.
 *
 * @author Michal Drobny  
 */

package logic.route;

import logic.destination.Destination;
import logic.restriction.interfaces.HasDestinations;

/**
 * Represents an simple interface for route. A route can be described as a list
 * of paths or a ordered list of destinations.
 * 
 * @author Michal Drobny
 * @date 2.10.2014
 */
public interface Route extends HasDestinations {
	
	/**
	 * Returns destinations in order we get through.
	 * 
	 * @param from Destination The first destination in array this method returns
	 * @return destinations in order we get through
	 */
	public Destination[] getOrderedDestinations(Destination from);
}